<section>
    <main class="scrollbar turbine-list-rl" #main>
      <div class="scrollbar-trubineList" id="style-3">
        <div class="trubineList force-overflow-trubineList">
          <table cellspacing="0" cellpadding=0>
            <thead>
              <tr>
                <th>汇流箱</th>
                <th>母线电压
                  <br>(V)</th>
                <th *ngFor="let title of channelTitles;let n=index">
                  {{title}}
                  <br>(A)
                </th>
              </tr>
            </thead>
            <tbody>
              <tr *ngFor="let convergenceBox of convergenceBoxs" >
                <td>{{convergenceBox.deviceName}}</td>
                <td>{{convergenceBox.voltage.value | number: '1.2-2'}}</td>
                <td *ngFor="let channel of convergenceBox.channels;let n=index">
                  {{channel===null?'备用':channel.value | number: '1.2-2'}}
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </main>
    <div #op  class="op" *ngIf="showDetail">
      <div>
        <i>{{currentConvergenceBox?.farmName}} {{currentConvergenceBox?.deviceName}} 详情</i>
        <span class="colse" (click)="onColse()"></span>
      </div>

      <app-device-detail
        class="convergencebox-detail"
        name="convergenceboxDetail"
        [device]="currentConvergenceBox"
        [deviceNumber]=0>
      </app-device-detail>
    </div>
  </section>
